﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AutoTLBB
{
	public partial class SplashScreen : Form
	{
		public SplashScreen()
		{
			InitializeComponent();
			System.Windows.Forms.Screen src = System.Windows.Forms.Screen.PrimaryScreen;
			int x = (src.Bounds.Width - this.Width) / 2;
			int y = (src.Bounds.Height - this.Height) / 2;
			this.Left = x;
			this.Top = y;
			this.DesktopLocation = new Point(x, y);
		}
		public void SetProgress(int percent)
		{
			progressBar1.Value += percent;
		}
	}
}
